<template>
	<view class="">
		<jn-layout>
			<template v-slot:header>
				<view class="">插槽Demo1首页</view>
			</template>
			<template v-slot:main>
				<view class="">插槽demo1内容</view>
			</template>
		</jn-layout>
	</view>
	<view class="box">
		<button type="default" @click="remobar">点击取消分类，数字红点</button>
	</view>
</template>

<script setup>
	function remobar(){
		
			uni.removeTabBarBadge({
				index:1
			})
			
	}
	
</script>

<style lang="scss" scoped>
.box1{
	width: 100px;
	height: 100px;
	background: pink;
}
.box2{
	width: 200px;
	height: 200px;
	background: green;
}
</style>
